import set from '@dfeidao/atom-web/global/set';
import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import fire from '@dfeidao/atom-web/msg/fire';

export default async function a008(fd: IFeidaoAiBrowserComponent, e: Event) {
	// todo
	// 获取点击时的div的title  meeting_no
	const c = e.currentTarget as HTMLDivElement;
	const no = c.getAttribute("title");
	console.log(no);
	// 调用组件2的a001
	fire('zj-000002', 'a001', no);
	// set全局传值 便于其他组件使用
	set('no', no);
}
